<table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td><img src="<?php echo $this->imgUrl  ?>/laptop.gif" width="100%" height="31" /></td>
  </tr>
  <?php
  if(count($this->productCat)==0)
  {
  	echo "<tr><td id='tdcell' height='50'>";
  	echo "San Pham Dang Cap Nhat";
  	echo "</td></tr>";
  }
  else
  {
   foreach($this->productCat as $value)
  {
  ?>
  <tr>
    <td>
	    <table width="100%" id="tablecontent"  >
		  <tr>
		    <td width="155" align="center" bordercolor="#BFB5C2" id="tdcell"><img src="/zendshopping/public/upload/<?php echo $value['Image'] //Image la ten mot column trong table 'sanpham'(dang file du lieu).jpg trong CSLD'?>" width="129" height="100" /> 
		    		<p class="price"><?php echo $value['TenSP']?></p>
		    </td>
		    <td width="241" bordercolor="#BFB5C2" id="tdcell">
			    <p>
			    	<?php echo $value['TenSP'];?>    
			    </p>
			        <?php echo $value['TomTat'];?>
			    <p>
			    So Luot Xem :<?php echo $value['luotxem'];?>   
			    </p>
			</td>
		    <td width="198" align="center" bordercolor="#BFB5C2" id="tdcell2">
		    	<a href="<?php echo $this->url(array("controller"=>"product","action"=>"descript","getProduct"=>$value['idSP']),null,true); //Tao link URL den view descriptAction mo ta cu the khi click vao images lien ket co ten 'xemchitiet_but.gif' dong lenh duoi?>">
		    	<img border="0" src="<?php echo $this->imgUrl  ?>/xemchitiet_but.gif" width="85" height="21"  boder="0"/>
				</a>
		    </td>
		  </tr>
		</table>
	</td>
  </tr>
  <?php
 	}
	}
  ?>

</table>